<?php if (!defined('THINK_PATH')) exit(); /*a:4:{s:61:"D:\class\public/../application/index\view\index\services.html";i:1554645312;s:48:"D:\class\application\index\view\common\head.html";i:1554635453;s:48:"D:\class\application\index\view\common\menu.html";i:1554643093;s:48:"D:\class\application\index\view\common\foot.html";i:1554635918;}*/ ?>
<!DOCTYPE HTML>
<html>
<head>
    <title>瑜伽生活</title>
    <link href="/index/css/bootstrap.css" rel='stylesheet' type='text/css' />
    <script src="/index/js/jquery.min.js"></script>
    <link href="/index/css/style.css" rel='stylesheet' type='text/css' />
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <script type="application/x-javascript">
        addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false); function hideURLbar(){ window.scrollTo(0,1); }
    </script>
    <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,300,600,700,800' rel='stylesheet' type='text/css'>
</head>
<body>
	<!---- container ---->
		<!---- header ----->
	<div class="header">
    <div class="container">
        <div class="logo">
            <a href="<?php echo url('index/index'); ?>"><span>瑜</span>伽生活</a>
        </div>
        <div class="top-nav">
            <span class="menu"> </span>
            <ul>
                <li <?php if(($active == 1)): ?>class="active"<?php endif; ?>><a href="<?php echo url('index/index'); ?>">首页</a></li>
                <li <?php if(($active == 2)): ?>class="active"<?php endif; ?>><a href="<?php echo url('index/about'); ?>">关于我们</a></li>
                <li <?php if(($active == 3)): ?>class="active"<?php endif; ?>><a href="<?php echo url('index/contact'); ?>">评论专区</a></li>
                <?php if(($is_login)): ?>
                <li <?php if(($active == 4)): ?>class="active"<?php endif; ?>><a href="<?php echo url('index/user'); ?>">个人中心</a></li>
                <li>欢迎您，<?php echo $is_login['user_name']; ?></li>
                <li><a href="<?php echo url('login/login_out'); ?>">退出</a></li>
                <?php endif; if((!$is_login)): ?>
                <li><a href="<?php echo url('login/login'); ?>">登陆</a></li>
                <li><a href="<?php echo url('login/register'); ?>">注册</a></li>
                <?php endif; ?>
            </ul>
        </div>
        <div class="clearfix"> </div>
        <script>
            $( "span.menu" ).click(function() {
                $( ".top-nav ul" ).slideToggle( "slow", function() {
                    // Animation complete.
                });
            });
        </script>
        <!--<div class="banner text-center">-->
        <!--<h1>discover the features of <span>M</span>oto theme</h1>-->
        <!--<p></p>-->
        <!--<a class="seemore" href="#">Seemore</a>-->
        <!--</div>-->
    </div>
</div>
		<!---- header ----->
		<!------ about ---->
		<div class="services">
			<!--- bradcrumbs ---->
			<div class="breadcrumbs">
				<div class="container">
					<div class="breadcrumbs-left">
						<h1>个人中心</h1>
					</div>
				</div>
			</div>
			<!--- bradcrumbs ---->
		</div>
		<div class="services-top-grids">
			<div class="container">
				<div class="services-wel wel-head text-center">
					<h3>我的预定 </h3>
				</div>
				<!---- services-grids ---->
				<div class="service-grids">
					<?php if((!empty($comment2))): foreach($comment2 as $k => $v): ?>
					<div class="col-md-4 service-grid">
						<img src="/index/img/01.jpg" title="services-name" />
						<h3>课程名称 <?php echo $v['name']; ?></h3>
						<p>预定时间  <?php echo date('Y-m-d H:i:s',$v['created_ts'] ); ?></p>
					</div>
					<?php endforeach; else: ?>
					<p style="text-align: center;color: #cccc77">暂无预定课程</p>
					<?php endif; ?>
					<div class="clearfix"> </div>
				</div>
				<!---- services-grids ---->
		</div>
		<!------ about ---->
		</div>
	<div class="footer">
    <div class="top-footer">
        <div class="container">
            <div class="top-footer-grids">
                <div class="top-footer-grid">
                    <h3>联系我们</h3>
                    <ul class="address">
                        <li><span class="map-pin"> </span><label>北京市XXX大学</label></li>
                        <li><span class="mob"> </span>(416) 555-5252</li>
                        <li><span class="msg"> </span><a href="mailto:yourname@yoursite.com">hello@moto.com</a></li>
                    </ul>
                </div>
                <div class="top-footer-grid">
                    <h3>最新评论</h3>
                    <ul class="latest-post">
                        <?php if((!empty($comment))): foreach($comment as $k=>$v): ?>
                        <li><a href="<?php echo url('index/about'); ?>"><span class="icon1"> </span> <?php echo $v['comment']; ?> </a> </li>
                        <?php endforeach; else: ?>
                        <li style="color: white">暂无评论</li>
                        <?php endif; ?>
                    </ul>
                </div>
                <!--<div class="top-footer-grid">-->
                    <!--<h3>Latest tweets</h3>-->
                    <!--<div class="tweet-box">-->
                        <!--<div class="tweet-box-icon">-->
                            <!--<span> </span>-->
                        <!--</div>-->
                        <!--<div class="tweet-box-info">-->
                            <!--<p>Confucius: Life is really simple, but we insist on making it complicated. <span><a href="#">#famousquotes</a></span><label><a href="#"> 8 mins ago</a></label></p>-->
                        <!--</div>-->
                        <!--<div class="clear"> </div>-->
                    <!--</div>-->
                    <!--<div class="tweet-box">-->
                        <!--<div class="tweet-box-icon">-->
                            <!--<span> </span>-->
                        <!--</div>-->
                        <!--<div class="tweet-box-info">-->
                            <!--<p>Confucius: Life is really simple, but we insist on making it complicated. <span><a href="#">#famousquotes</a></span><label><a href="#"> 8 mins ago</a></label></p>-->
                        <!--</div>-->
                        <!--<div class="clear"> </div>-->
                    <!--</div>-->
                <!--</div>-->
                <!--<div class="clear"> </div>-->
            </div>
        </div>
    </div>
    <div class="bottom-footer">
        <div class="container">
            <div class="bottom-footer-left">
                <p>&#169; Copyright 2019 Template by <a href="http://www.baidu.com/s?wd=Juliy&usm=1&tn=baidu&f=13&ie=utf-8&nojc=1&rqlang=cn" target="_blank">Juliy</a></p>
            </div>
            <div class="clear"> </div>
        </div>
    </div>
</div>
<script src="/index/common/layui/layui.all.js"></script>
	</body>
</html>

